﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-12-12
Description:Sms_Log三层结构模型层
=============================================================================	
*/
using System;
using System.Collections.Generic;
using System.Text;
 
using PWMIS.Common;
using PWMIS.DataMap.Entity;
namespace FTchina.Models
{
	/// <summary>
	/// 
	/// </summary>
	[Serializable()]
	public class Sms_Log: EntityBase
	{
		
		//不带数的构造方法
		public Sms_Log()
		{
            TableName = "Sms_Log";
            EntityMap = EntityMapType.Table;

            //IdentityName = "标识字段名";
            IdentityName = "Id";

            //PrimaryKeys.Add("主键字段名");
            PrimaryKeys.Add("Id");
			
		}
        
        protected override void SetFieldNames()
        {           
            PropertyNames = new string[] { "Id" ,"Sms" ,"Ip" ,"Dt" ,"UName" };
        }  
        
		#region Sms_Log Filed
 		public  System.Int32 Id
		{
			 get{return getProperty< System.Int32>("Id");}
             set{setProperty("Id",value );}
		}		 
 		public System.String Sms
		{
			 get{return getProperty<System.String>("Sms");}
             set{setProperty("Sms",value );}
		}		 
 		public System.String Ip
		{
			 get{return getProperty<System.String>("Ip");}
             set{setProperty("Ip",value );}
		}		 
 		public System.DateTime Dt
		{
			 get{return getProperty<System.DateTime>("Dt");}
             set{setProperty("Dt",value );}
		}		 
 		public System.String UName
		{
			 get{return getProperty<System.String>("UName");}
             set{setProperty("UName",value );}
		}		 
		#endregion
	}
}

